Bilinear delta formulation-based OptimizationContainer test#40
Bilinear delta formulation-based OptimizationContainer test#40luke-kiernan wants to merge 11 commits intomainfrom
OptimizationContainer test#40Conversation
implement `create_mock_test_network` and start constructing optimizat…
There was a problem hiding this comment.
A few small things. But the bigger concern: when I run this, I get that the objective value is 0.0. I suspect it's due to the fact that you're making the power at the loads a variable, not a fixed quantity. If that isn't it, then I'd suggest taking a detailed look at the constraints and objective function for a super small case, like 2 nodes and 2 tranches.
| return points | ||
| end | ||
|
|
||
| struct NetworkProblem |
There was a problem hiding this comment.
| struct NetworkProblem | |
| struct MockNetworkProblem |
| ) | ||
| end | ||
|
|
||
| # ----------------- Mock infrastructure |
There was a problem hiding this comment.
Move this to appropriate file inside the mocks
| @test PSI.get_warm_start(settings) == true | ||
| @test PSI.get_optimizer(settings) === nothing | ||
| @test PSI.get_direct_mode_optimizer(settings) == false | ||
| @test PSI.get_direct_model_optimizer(settings) == false |
There was a problem hiding this comment.
| @test PSI.get_direct_model_optimizer(settings) == false | |
| @test PSI.get_direct_mode_optimizer(settings) == false |
Direct mode is a reference to JuMP direct_mode not model
There was a problem hiding this comment.
Okay. It seems that JuMP refers to both a direct_model as well as a direct mode: https://jump.dev/JuMP.jl/stable/api/JuMP/#direct_model
No description provided.